#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
	int ch;
	ch=getchar();
	cout<<ch<<endl;
	cout<<(char)ch<<endl;
	return 0;
}

